package cn.com.connected.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * 
 * 
 * @author sms
 * @email sms@live.com
 * @date 2022-10-22 09:37:51
 */
@Data
@AllArgsConstructor
@ApiModel(description = "")
public class SysMessageDto{


    @NotEmpty(message = "请输入 内容")
    @ApiModelProperty(value = "内容")
    private String content;

    @NotEmpty(message = "请输入 关联ID")
    @ApiModelProperty(value = "关联ID")
    private String relId;

    @NotNull(message = "请输入 消息类型 dict: msgType")
    @ApiModelProperty(value = "消息类型 dict: msgType")
    private Integer msgType;
}